﻿using Abp.Dapper.Repositories;
using Abp.Data;
using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZCMS.EntityFrameworkCore;

namespace ZCMS.Dapper.Repositories
{
	public abstract class DapperRepository<TEntity, TPrimaryKey> : DapperEfRepositoryBase<ZCMSDbContext, TEntity, TPrimaryKey> where TEntity : class, IEntity<TPrimaryKey>
	{
		public DapperRepository(IActiveTransactionProvider activeTransactionProvider) : base(activeTransactionProvider)
		{
		}
		


	}

	public abstract class DapperRepository<TEntity> : DapperEfRepositoryBase<ZCMSDbContext, TEntity, int> where TEntity : class, IEntity<int>
	{
		public DapperRepository(IActiveTransactionProvider activeTransactionProvider) : base(activeTransactionProvider)
		{
		}
	}
}
